package cmpe.swe.purcom.model;

import java.util.Date;

public class Stuff {
	private Long id;
	private Integer amountRequested;
	private String name;
	private String description;
	private String location;
	private Date datetime;
	private Long communityid;
	private Integer amountContributed;

	public Stuff() {
		super();
	}

	/**
	 * Sets the properties of the Stuff object
	 * 
	 * @param id id property of the object
	 * @param amountRequested number of request
	 * @param name name property of the object
	 * @param description description of the object
	 * @param location location property of the object
	 * @param datetime time property of the object
	 * @param communityid communityid property of the object
	 * @param amountContributed number of contribution for teh request 
	 */
	public Stuff(Long id, Integer amountRequested, String name,
			String description, String location, Date datetime,
			Long communityid, Integer amountContributed) {
		super();
		this.id = id;
		this.amountRequested = amountRequested;
		this.name = name;
		this.description = description;
		this.location = location;
		this.datetime = datetime;
		this.communityid = communityid;
		this.amountContributed = amountContributed;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getAmountRequested() {
		return amountRequested;
	}

	public void setAmountRequested(Integer amountRequested) {
		this.amountRequested = amountRequested;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Date getDatetime() {
		return datetime;
	}

	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}

	public Long getCommunityid() {
		return communityid;
	}

	public void setCommunityid(Long communityid) {
		this.communityid = communityid;
	}

	public Integer getAmountContributed() {
		return amountContributed;
	}

	public void setAmountContributed(Integer amountContributed) {
		this.amountContributed = amountContributed;
	}

}
